/**
 * 
 */
package com.q31.testframework;

/**
 * 
 * @author Jothi
 * @since 1.6
 */
public interface IDataReader {
	
	/**
	 * 
	 * @param tableName
	 * @return
	 */
	long getMaxIdFromTable(final String tableName);
	
	/**
	 * 
	 * @param tableName
	 * @return
	 */
	long getMinIdFromTable(final String tableName);
	
	/**
	 * 
	 * @param tableName
	 * @param whereClause
	 * @return
	 */
	long getMaxIdFromTableWithWhere(final String tableName, final String whereClause);
	
	/**
	 * 
	 * @param tableNa
	 * @return
	 */
	long getMinIdFromTableWithWhere(final String tableNa, final String whereClause);
	
	/**
	 * 
	 * @param tableName
	 * @return
	 */
	long getRandomIdFromTable(final String tableName);
	
	/**
	 * 
	 * @param tableName
	 * @return
	 */
	long getRandomIdFromTableWithWhere(final String tableName);

}
